
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8" />
    <meta id="viewport" name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0">
    <title>新建任务</title>
    <link rel="stylesheet" href="../lib/weui.css">
    <link rel="stylesheet" href="../lib/jquery-weui.css">
    <link href="//netdna.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css" rel="stylesheet">
    <link rel="stylesheet" href="../css/reset.css">
    <link rel="stylesheet" href="../css/global.css">
    <link rel="stylesheet" href="../css/createTask.css">
</head>
<script type="text/javascript">
    (function() {
        var newRem = function() {
            var html = document.documentElement;
            html.style.fontSize = html.getBoundingClientRect().width / 10 + 'px';
            console.log(html.style.fontSize);
        };
        window.addEventListener('resize', newRem, false);
        newRem();
    })();
</script><body ontouchstart>
<div class="container">

    <div class="contain-box">
        <div style="position: relative">
            <textarea placeholder="点击输入内容..."></textarea>
        </div>
        <div class="weui-gallery" id="gallery">
            <span class="weui-gallery__img" id="galleryImg"></span>
            <div class="weui-gallery__opr">
                <a href="javascript:" rel="external" class="weui-gallery__del">
                    <i class="weui-icon-delete weui-icon_gallery-delete"></i>
                </a>
            </div>
        </div>
        <div class="weui-cells weui-cells_form">
            <div class="weui-cell">
                <div class="weui-cell__bd">
                    <div class="weui-uploader">
                        <div class="weui-uploader__bd">
                            <ul class="weui-uploader__files" id="uploaderFiles">

                            </ul>
                            <div class="weui-uploader__input-box">
                                <input id="uploaderInput" class="weui-uploader__input js_file" type="file" accept="image/*" multiple="">
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>
<div class="list-bottom">
    <div class="post-man">通知人</div>
    <div class="user-block">
        <div class="user-list">
            <div class="">请添加 <i class="fa fa-chevron-right" style="font-size: 10px;"></i></div>
        </div>
    </div>
</div>
<div class="js_dialog" id="confirmDialog" style="display: none;">
    <div class="weui-mask"></div>
    <div class="weui-dialog">
        <div class="weui-dialog__bd">最多只能上传三张图片~</div>
        <div class="weui-dialog__ft">
            <a href="javascript:;" class="weui-dialog__btn weui-dialog__btn_primary" id="okBtn">知道了</a>
        </div>
    </div>
</div>

<div class="fixed-button">
    <button class="submit">提交</button>
</div>
</body>
<script src="../lib/jquery.min.js"></script>
<script src="../lib/jquery-weui.js"></script>
<script type="text/javascript" src="../lib/weui.min.js"></script>
<script src="../js/uploadFile.js"></script>
<script src="../js/createTask.js"></script>
</html>
